.rydj{
    width: 100vw;
    height: 100vh;
    background-color: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.rydj-top{
    width: 100%;
    height: 30px;
    background-color: #fff;
    margin-top: 10px;
}   
.rydj-top-left{
    width: 20px;
    height: 20px;
    margin-left: 15px;
}

.rydj-top-title{
    margin-left: 130px;
    font-size: 17px;
    margin-top: 10px;
}

.rydj-top-right{
    margin-left: 140px;
    font-size: 15px;
}

.rydj-bg{
    width: 100%;
    height: 80px;
    background-color: #f2f2f2;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 20px 20px 20px 40px;
    position: relative;
    min-height: 80px;
    gap: 40px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    
}

.step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #d9d9d9;
    border: 2px solid #d9d9d9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step-number {
    color: #999;
    font-size: 16px;
    font-weight: bold;
}

.step-label {
    font-size: 14px;
    color: #999;
    text-align: center;
    font-weight: 500;
}

.progress-step.active .step-circle {
    background-color: #87CEEB;
    border-color: #40a9ff;
}

.progress-step.active .step-number {
    color: #40a9ff;
    font-weight: bold;
}

.progress-step.active .step-label {
    color: #40a9ff;
    font-weight: 600;
}

.progress-step:not(.active) .step-circle {
    background-color: white;
    border-color: #333;
}

.progress-step:not(.active) .step-number {
    color: #333;
    font-weight: bold;
}

.progress-step:not(.active) .step-label {
    color: #333;
    font-weight: 500;
}

.progress-line {
    position: absolute;
    top: 35px;
    left: 90px;
    width: 50px;
    height: 1px;
    background-color: #807a7a;
    z-index: 1;
}

.rydj-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.form-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.form-input {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: white;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #40a9ff;
    box-shadow: 0 0 0 2px rgba(64, 169, 255, 0.2);
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.radio-item input[type="radio"] {
    margin: 0;
    cursor: pointer;
}

.radio-text {
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.date-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.date-input {
    flex: 1;
    cursor: pointer;
}

.calendar-icon {
    position: absolute;
    right: 12px;
    color: #999;
    font-size: 16px;
    pointer-events: none;
}

.select-container {
    position: relative;
    display: flex;
    align-items: center;
}

.form-select {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-select:focus {
    outline: none;
    border-color: #40a9ff;
    box-shadow: 0 0 0 2px rgba(64, 169, 255, 0.2);
}

.select-arrow {
    position: absolute;
    right: 12px;
    color: #999;
    font-size: 12px;
    pointer-events: none;
}

.submit-container {
    margin-top: 30px;
    padding: 0 20px;
}

.submit-button {
    width: 100%;
    padding: 12px;
    background-color: #40a9ff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-button:hover {
    background-color: #40a9ff;
}

.submit-button:active {
    background-color: #096dd9;
}

.submit-button.loading {
    background-color: #ccc;
    cursor: not-allowed;
}

.submit-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

// 错误样式
.form-input.error,
.form-select.error {
    border-color: #ff4d4f !important;
    box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);
}

.error-message {
    color: #ff4d4f;
    font-size: 12px;
    margin-top: 4px;
    margin-left: 2px;
    line-height: 1.4;
}

.required {
    color: #ff4d4f;
    margin-left: 2px;
}

// 日期选择器样式
.date-picker-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.date-picker {
    background: white;
    border-radius: 8px;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.date-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.date-picker-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: #333;
}

.date-picker-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.date-selectors {
    display: flex;
    gap: 15px;
    justify-content: space-between;
}

.date-selector {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.date-selector label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.date-selector select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

.date-selector select:focus {
    outline: none;
    border-color: #40a9ff;
    box-shadow: 0 0 0 2px rgba(64, 169, 255, 0.2);
}

.date-picker-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.cancel-btn, .confirm-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.cancel-btn {
    background: #f5f5f5;
    color: #666;
}

.cancel-btn:hover {
    background: #e8e8e8;
}

.confirm-btn {
    background: #40a9ff;
    color: white;
}

.confirm-btn:hover {
    background: #1890ff;
}

.calendar-icon {
    cursor: pointer;
    color: #666;
}

.calendar-icon:hover {
    color: #40a9ff;
}